package com.spa.application.command.member;

import com.spa.infrastructure.annotation.AtLeastOneNotEmpty;
import lombok.Data;

@Data
@AtLeastOneNotEmpty(fields = {"code", "encryptedData"}, message = "code 和 encryptedData 至少要有一个")
public class ExchangeCommand {

    private String encryptedData;

    private String code;
}
